/**
 * 
 */
package edu.sjtu.seda.eventqueue;

import edu.sjtu.seda.event.Event;

/**
 * @author john.zhu
 *
 */
public interface EventQueue extends Runnable{
	
	public void pushEvent(Event event);
	
	public Event popEvent();
	
	public int size();
	
	public void clear();
	
	public void shutdown();
	
	public boolean isShutdown();
	
}
